﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WJ.Infrastructure.Util;

namespace Plugin.Factory
{
    public class ObjectFactory
    {
        private static List<IHelper> objectList;
        static ObjectFactory()
        {
            objectList = IOUtil.LoadDll<IHelper>("~/plugin").Where(t=>t.IsOpen).ToList();
        }

        public static List<IHelper> GetObjectList
        {
            get { return objectList; }
        }
    }
}
